<template>
<div>
  <form>
  用户名:<input type="text"  placeholder="请输入用户名" v-model="username"/><br>
  密&nbsp&nbsp&nbsp码:<input type="password"  placeholder="请输入密码" v-model="pwd"/><br>
  性&nbsp&nbsp&nbsp别:<input type="radio" v-model="sex" value="男" />男
  <input type="radio" v-model="sex" value="女"/>女<br>
  爱&nbsp&nbsp&nbsp好:<input type="checkbox" v-model="hobby" value="画画">画画
                     <input type="checkbox" v-model="hobby" value="音乐">音乐
                     <input type="checkbox" v-model="hobby" value="跑步">跑步
                     <input type="checkbox" v-model="hobby" value="拍照">拍照<br>
    注册:<input type="submit" v-model="reg"/>
  </form>
</div>
</template>

<script>
export default {
  name: "Login",
  data(){
    return{
    username:"xxx",
    pwd:"",
      sex:"男",
      hobby:[]

    }
  }
}
</script>

<style scoped>

</style>
